/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package web.app.client;

import java.util.ArrayList;
import java.util.List;
import web.mail.client.MailModule;

/**
 *
 * @author michael
 */
public class AppConfig {

    private static List<Module> modules = null;
    public static void addModule( Module m ){
    	
    	if(modules ==null) modules = new ArrayList<Module>();
 
    	modules.add( m );
    }

    public static List<Module> getModules() {
    	
    	if(modules ==null) modules = new ArrayList<Module>();
        
        return modules;
    }
}
